package com.rdc.example.view;

import com.rdc.example.bean.dto.CommentDTO;

import static com.rdc.example.view.UtilView.getUserInputString;

/**
 * @author duck
 */
public class CommentView {

    public static void insertComment(CommentDTO commentDTO) {
        String comment = getUserInputString("请输入评论： ");
        commentDTO.setContent(comment);
    }
}
